package com.findme.fecedetection.utlis;

import android.content.Context;
import android.support.annotation.NonNull;
import android.widget.Toast;

import com.tanguy.user.App;


/**
 * Created by dab on 2017/10/27 0027 16:47
 */

public class ToastUtils {
    public static void showToast(@NonNull Context context, String msg) {
        Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
    }

    public static void showToast(String msg) {
        Toast.makeText(App.app, msg, Toast.LENGTH_SHORT).show();
    }
}
